import java.util.List;

public class Monkey {
    public static void main(String[] args) {

        LinkedList List1 = new LinkedList();
        int total = 1;
        for (int day = 2; day <= 10; day++) {
            total = 2 * (total + 1);
            System.out.println("第" + (11 - day) + "天共有" + total + "个");
        }
        System.out.println("一开始共有：" + total + "个桃子");

        }
    }


